package com.pysrc.base.service;

import java.util.List;

/**
 * @ClassName:
 * @Auther L.Chen
 * @CreateDate
 * @Description TODO
 */
public interface BaseService<T>{
    T insert(T t);
    T updateByPrimaryKey(T t);
    T deleteByPrimaryKey(Long id);
    T selectByPrimaryKey(Long id);
    List<T> select(T t);
    List<T> select(T t, Integer page, Integer pageSize);
}
